﻿namespace Pibby.Core.IO
{
	using System;

	public class FileSystemFolderFactory : IFolderFactory
	{
		public IFolder GetFolder(string path)
		{
			return new FileSystemFolder(path);
		}

		public IFolder GetFolder(Environment.SpecialFolder folder)
		{
			return new FileSystemFolder(Environment.GetFolderPath(folder));
		}

		public IFile GetFile(string path)
		{
			return new FileSystemFile(path);
		}
	}
}
